package com.sunwayworld.common.utils;

import com.sunwayworld.common.Config;
import com.sunwayworld.common.utils.sql.*;

public class QueryFactory {

	public static QueryUtils getInstance() {
		QueryUtils query = null;
		if (Config.DATABASE_TYPE.equals(Config.DATABASE_TYPE_SQLSERVER)) {
			query = new QuerySQLServer();
		} else {
			query = new QueryOracle();
		}

		return query;
	}

}
